﻿using System;
using System.IO;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using Microsoft.Windows.Controls.Ribbon;
using System.Windows.Data;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Navigation;
using System.Collections.ObjectModel;
using System.Windows.Input;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Documents;
using System.Windows.Shapes;
using System.Windows.Media.Media3D;
using System.Xml;
using System.Windows.Forms;
using usb_api;
using System.Collections;
using DWORD = System.UInt32;
using System.ComponentModel;
using System.Data;
using System.Text.RegularExpressions;
using System.Diagnostics;
using Data;
using Layer;
namespace DCSElab_Project
{
    /// <summary>
    /// Interaction logic for Rotate_dialog.xaml
    /// </summary>
    public partial class Rotate_dialog : Window
    {
        public int truc_quay=0;
        public Double goc_quay=0;
        
        public Rotate_dialog()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, RoutedEventArgs e)
        {

            truc_quay = comboBox1.SelectedIndex;
            goc_quay = Double.Parse(textBox1.Text);
            DialogResult = true;
        }
    
     


        private void button2_Click(object sender, RoutedEventArgs e)
        {
            DialogResult = false;
            this.Close();
        }
    }
}
